package sv.com.renacempleo.dao.ctg;

import java.util.List;

import sv.com.renacempleo.dao.BaseDao;
import sv.com.renacempleo.dto.ctg.CtgCatalogo;
import sv.com.renacempleo.exception.WebException;

public interface CtgCatalogoDao extends BaseDao{
	public List<Object[]> findAllByCodigoAsArray(String ctgCatalogoPadre) throws WebException;
	public List<Object[]> findAllActivesByCodigoAsArray(String ctgCatalogoPadre) throws WebException;
	public CtgCatalogo findByCodigo(String ctgCatalogoHijo) throws WebException;
	public void delete(Long ctgCatalogoId) throws WebException;
	public void toggleActive(Long ctgCatalogoId, String ctgCatalogoActivo) throws WebException;
}
